<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateReActivityTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        //
        Schema::create('re_activity', function (Blueprint $table) {
            $table->increments('activity_id')->comment('活动id');
            $table->string('activity_name',100)->comment('活动名称');
            $table->string('activity_img',100)->comment('活动图片');
            $table->string('activity_content',100)->comment('活动内容');
            $table->date('activity_time')->comment('邀请时间');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
